package czh.cocoa.foundation;

public class NSDateComponents extends NSObject {

	private int mYear;
	private int mMonth;
	private int mDay;
	private int mHour;
	private int mMinute;
	private int mSecond;
	private int mWeekday;
	
	public void setYear(int year) {
		mYear = year;
	}
	
	public int year() {
		return mYear;
	}
	
	public void setMonth(int month) {
		mMonth = month;
	}
	
	public int month() {
		return mMonth;
	}
	
	public void setDay(int day) {
		mDay = day;
	}
	
	public int day() {
		return mDay;
	}
	
	public void setHour(int hour) {
		mHour = hour;
	}
	
	public int hour() {
		return mHour;
	}
	
	public void setMinute(int minute) {
		mMinute = minute;
	}
	
	public int minute() {
		return mMinute;
	}
	
	public void setSecond(int second) {
		mSecond = second;
	}
	
	public int second() {
		return mSecond;
	}
	
	public void setWeekday(int weekday) {
		mWeekday = weekday;
	}
	
	public int weekday() {
		return mWeekday;
	}
	
}
